package com.clwl.supervise.superviseapp.mapper.risk;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.risk.JgRiskLevelDynamic;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JgRiskLevelDynamicMapper extends BaseMapper<JgRiskLevelDynamic> {
    List<JgRiskLevelDynamic> selectByRiskLevelId(@Param("riskLevelId") Long riskLevelId);

    List<JgRiskLevelDynamic> selectHistoryByRiskLevelId(@Param("riskLevelId") Long riskLevelId,@Param("supProcess") String supProcess);
}